home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr43 / cpt115.zip / CPT-SORT.DOC < prev    next >
Text File  |  1995-02-24  |  2KB  |  39 lines

  1.  
  2.                      Documentation for CPT-Sort, v1.15
  3.             See CPT.DOC for usage information about CPT itself.
  4.  
  5.  
  6. CPT-Sort sorts a CPT database by one or more of four different fields, each
  7. of which may be in either ascending or descending order.
  8.  
  9. Prefacing a sort field with a hyphen (-) selects descending order.
  10.  
  11. Usage: CPT-Sort <CPT file> <sort order(s) [see below]>
  12.  
  13.     name     = sort by first name, ascending (A to Z)
  14.    -name     = sort by first name, descending (Z to A)
  15.     sent     = sort by messages sent, ascending (fewest messages at top)
  16.    -sent     = sort by messages sent, descending (most messages at top)
  17.     oldest   = sort by oldest message, ascending (new people at end)
  18.    -oldest   = sort by oldest message, descending (new people at top)
  19.     newest   = sort by newest message, ascending (current posters at end)
  20.    -newest   = sort by newest message, descending (current posters at top)
  21.  
  22. Example:  CPT-Sort cnf_100.dat -sent
  23. Example:  CPT-Sort 67.mem -sent name
  24.  
  25. Notes:
  26.  
  27.   1) The output file name for CPT-Sort is the same as the input file.
  28.  
  29.   2) CPT itself sorts by "name".  This cannot be changed by the user.
  30.      (That is why I wrote *this* program!)
  31.  
  32.   3) If you want to rank by multiple fields, just put multiple sort order
  33.      parameters on the command line, in the order of highest to lowest
  34.      priority.  If you want the participants sorted primarily by oldest and
  35.      secondarily by name, then use:
  36.  
  37.           CPT-Sort 123.mem oldest name
  38.  
  39.